import { get,post } from "../request";

const comment = {
    queryCommentsByPage(pageDto){
        return post('/comments/queryCommentsByPage',pageDto)
    },
    insertComment(comments){
        return post('/comments/insertComment',comments)
    },
    deleteComment(commentId){
        return get('/comments/deleteComment',commentId)
    },
    delete(commentId){
        return get('/comments/delete',commentId)
    }
}

export default comment;